﻿using System;
using System.Collections.Generic;
using LuckyLoot.Domain.Entities.People;
using LuckyLoot.Domain.Entities;

namespace LuckyLoot.Domain.Aggregate
{
    public class Apointment
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public virtual Customer Customer { get; set; }
        public virtual TattooArtist Artist { get; set; }
        public DateTime Date { get; set; }
        public DateTime? ReturnDate { get; set; }
        public virtual List<Picture> Pictures { get; private set; }

        public Apointment()
        {
            this.Pictures = new List<Picture>();
        }

        public void AddPicture(Picture pic)
        {
            this.Pictures.Add(pic);
        }
    }
}
